package com.xuxin.nantai.contract;

import com.xuxin.nantai.bean.BaseBean;
import com.xuxin.nantai.bean.SelectDetailBean;
import com.xuxin.nantai.presenter.SelectDetailPresenter;

/**
 * Created by xu_xin
 * Created on 2020.06.12 0012
 */
public interface SelectDetailContract {

    interface Model {

        void getSelectDetail(SelectDetailPresenter presenter, String ID);

        void delete(SelectDetailPresenter presenter, String UserName, String Guid);
    }

    interface View extends BaseContract.view {

        void onSuccess(SelectDetailBean selectDetailBean);

        void onSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getSelectDetail(String ID);

        void delete(String UserName, String Guid);

        void onSuccess(SelectDetailBean selectDetailBean);

        void onSuccess(BaseBean baseBean);
    }
}